const Router = require("koa-router")
const ArticleController = require("../controllers/article")
const router = new Router()

// 这里的"url"写全是为了避免搞错"url"
router.post("/article/create", ArticleController.create)
router.post("/article/list", ArticleController.getArticleList)

module.exports = router
